package com.lzy.managersystem.controller.dto;

import com.lzy.managersystem.pojo.Menu;
import com.lzy.managersystem.pojo.User;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * 接收前端登录请求参数
 */
@Data
@ToString
public class UserDTO {
    private String id;
    private String username;
    private String password;
    private String nickname;
    private String avatarUrl;
    private String token;

    private List<User> users;
    private String role;

    private List<Menu> menus;
}
